<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/pages/safeai/jsp/common/taglibs.jsp"%>
<%@ include file="/pages/safeai/jsp/common/meta.jsp"%>
<html>
<head>
<title>商品停产库</title>
<script type='text/javascript' src='${ctx}/dwr/interface/productService.js'></script>
<script type='text/javascript' src='${ctx}/dwr/interface/filterService.js'></script>
<script type='text/javascript' src='${ctx}/dwr/engine.js'></script>
<script type="text/javascript" src="${ctx}/script/common/common.js"></script>
<script type="text/javascript" src="${ctx}/script/product/catalog.js"></script>
<script type="text/javascript" src="${ctx}/script/product/product.js"></script>
<link href="${ctx}/css/safeai/together.css" rel="stylesheet" type="text/css">
</head>
<body>
  <form name="productForm" action="${ctx}/product/productMessage.do?method=stopProduct" method="post">
  <div style="padding:5px 0px 10px 7px">
		商品名称模糊查询：&nbsp;<input type="text" name="product.name" maxlength="155" value="${History.name}"/>&nbsp;&nbsp;
		按照编码检索商品：&nbsp; <input type="text" name="product.code" maxlength="20" value="${History.code}"/>
		<input type="submit" class="btn" value="搜索"/>
	</div>
	 <table align="center" width="99%">
		    <tr>
		    	<th class="td_01" height="25px">类别</th>
		    	<th class="td_01">品牌</th>
				<th class="td_01">名称</th>
				<th class="td_01">售价 </th>
		    	<th class="td_01">停产</th>
				<th class="td_01">顺序</th>
		    	<th class="td_01">操作</th>
		    </tr>
		  
		   <logic:present name="stopRange">
		   	<logic:iterate id="product" name="stopRange" property="records">
		    <tr>
		    	<td class="td_03">${product.catalogName}</td>
		    	<td class="td_03">${product.brandName}</td>
				<td class="td_03">
					${product.name}
				</td>
				<td class="td_03">${product.price}</td>
		    	<td class="td_03">
			    	停产
				</td>
				<td class="td_03">${product.sequence}</td>
		    	
		    	<td class="td_03"><a href="${ctx}/product/productMessage.do?method=ToUpdateProduct&id=${product.id}&forward=ToStatusStop">编辑资料</a>
		    	&nbsp;&nbsp;
		    	<a href="${ctx}/product/productMessage.do?method=DeleteProduct&id=${product.id}">删除</a></td>
		    	
		    </tr>
		   	</logic:iterate>
		   </logic:present>
		    
		    <tr>
				<td colspan="7" align="right"><%@ include file="/pages/safeai/jsp/common/page.jsp"%>&nbsp;&nbsp;&nbsp;&nbsp;</td>
			</tr>
</table>
</form>
  </body>
</html>
